<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
</head>
<body>
    <script>
        function fb(n){
            if(n==1 || n==2){
                return 1;
            }else{
                return fb(n-2)+fb(n-1);
            }
        }
        console.log(fb(25));
    </script>
</body>
</html>